package cn.neusoft.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Dept {

    private Integer deptno;
    private String dname;
    private String loc;

    //一个部门有多个员工
    private List<Employee> empList;

}
